//
//  RMNoteTableView.h
//  RMNote
//
//  Created by lxf on 16/4/18.
//  Copyright © 2016年 lxf. All rights reserved.
//

#import <UIKit/UIKit.h>

@class RMBaseModel;
@class RMDateModel;
@interface RMNoteTableView : UITableView

// 每个月所对应年的数组 [@"4-2014",@"3-2014"]
// 按照最近日期排序
@property (nonatomic, strong) NSMutableArray *month_yearArr;

@property (nonatomic, strong) void(^selectCellBlock)(RMBaseModel *model);

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style byYear:(NSString *)year byMonth:(NSString *)month;
- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style model:(RMDateModel *)model;
@end
